﻿using System.Web;
using System.Web.Mvc;
using Archives.Filters;
using Archives.Common.Attributes;

namespace Archives
{
    public class FilterConfig
    {
        public static void RegisterGlobalFilters(GlobalFilterCollection filters)
        {
            filters.Add(new LogonAuthorize());
            //filters.Add(new RolesAttribute());
            filters.Add(new HandleErrorAttribute());
            
        }
    }
}